package com.sinochem.iot.rule.model;

import java.util.Date;

public class RuleCondition {
    /**
     * 
     */
    private Integer id;

    /**
     * 规则id
     */
    private Integer ruleid;

    /**
     * 属性
     */
    private String attr;

    /**
     * 条件
     */
    private String queryCondition;

    /**
     * 属性值
     */
    private String attrValue;

    /**
     * 
     */
    private Date updateTime;

    /**
     * 
     */
    private Date createTime;

    /**
     *
     * @mbggenerated
     */
    public RuleCondition(Integer id, Integer ruleid, String attr, String queryCondition, String attrValue, Date updateTime, Date createTime) {
        this.id = id;
        this.ruleid = ruleid;
        this.attr = attr;
        this.queryCondition = queryCondition;
        this.attrValue = attrValue;
        this.updateTime = updateTime;
        this.createTime = createTime;
    }

    /**
     *
     * @mbggenerated
     */
    public RuleCondition() {
        super();
    }

    /**
     * 
     * @return id 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 规则id
     * @return ruleId 规则id
     */
    public Integer getRuleid() {
        return ruleid;
    }

    /**
     * 规则id
     * @param ruleid 规则id
     */
    public void setRuleid(Integer ruleid) {
        this.ruleid = ruleid;
    }

    /**
     * 属性
     * @return attr 属性
     */
    public String getAttr() {
        return attr;
    }

    /**
     * 属性
     * @param attr 属性
     */
    public void setAttr(String attr) {
        this.attr = attr == null ? null : attr.trim();
    }

    /**
     * 条件
     * @return query_condition 条件
     */
    public String getQueryCondition() {
        return queryCondition;
    }

    /**
     * 条件
     * @param queryCondition 条件
     */
    public void setQueryCondition(String queryCondition) {
        this.queryCondition = queryCondition == null ? null : queryCondition.trim();
    }

    /**
     * 属性值
     * @return attr_value 属性值
     */
    public String getAttrValue() {
        return attrValue;
    }

    /**
     * 属性值
     * @param attrValue 属性值
     */
    public void setAttrValue(String attrValue) {
        this.attrValue = attrValue == null ? null : attrValue.trim();
    }

    /**
     * 
     * @return update_time 
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 
     * @param updateTime 
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 
     * @return create_time 
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 
     * @param createTime 
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}